package com.saibowisdom.storage.aspirator.common.meta;

/**
 * 功  能: 监控信息
 * 创建人: LDL
 * 时 间:  2015/11/27 11:35
 */
public class MonitorInfo {

    private int id;
    private String ip;
    private String host;
    private int source;
    /**
     * 发生错误的内容
     */
    private String content;
    /**
     * 错误信息
     */
    private String error;
    /**
     * 错误类型 1 数据错误  2 系统错误 等待执行 3 执行次数过多后放弃的
     */
    private int type;
    /**
     * 执行次数 10次以上则放弃
     */
    private int count;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getSource() {
        return source;
    }

    public void setSource(int source) {
        this.source = source;
    }
}
